#ifndef __GAMEOBJHERO_H__
#define __GAMEOBJHERO_H__

#include "cocos2d.h"
#include "Box2D\Box2D.h"
#include "GameObj.h"

USING_NS_CC;

class GameObjHero : public GameObj, public CCTargetedTouchDelegate, public CCKeypadDelegate
{
public:
	GameObjHero(void);
	~GameObjHero(void);

	static GameObjHero* create(const char *pszFileName, const CCPoint &point);

	/*virtual bool ccTouchBegan(CCTouch* touch, CCEvent* event);
	virtual void ccTouchMoved(CCTouch* touch, CCEvent* event);
	virtual void ccTouchEnded(CCTouch* touch, CCEvent* event);

	virtual void touchDelegateRetain();
	virtual void touchDelegateRelease();*/

	virtual void keyNormalKeyDown(int keyCode);
	virtual void keyNormalKeyUp(int keyCode);
	
	bool isMoving;

};

#endif